<?php

namespace App\Http\Model\AccompanySmallRoom;

use App\Http\Model\Base;
use App\Http\Model\Room;
use App\Http\Model\RoomHostMicro;
use App\Http\Model\RoomMicro;
use App\Http\Model\SystemConfig;
use App\Http\Services\AccompanySmallRoomServices;
use App\Http\Services\CommonRoomMsgServices;

class AwardLogs extends Base
{
    //award_type
    const AWARD_TYPE_OF_PROP = 1;//道具

    /**
     * 表名字
     *
     * @var string
     */
    public $table = 'accompany_small_room_award_logs';

    /**
     * @var bool
     */
    public $timestamps = true;

    /**
     * 模型日期列的存储格式。
     *
     * @var string
     */
    protected $dateFormat = 'U';

    /**
     * 可以被批量赋值的属性。
     *
     * @var array
     */
    protected $fillable = ['id', 'room_id', 'to_user_id', 'award_id', 'award_type', 'created_at', 'updated_at'];

    /**
     * 构造函数
     *
     * @param array $attributes
     */
    public function __construct(array $attributes = [])
    {
        parent::__construct($this->table, $attributes);
    }

    /**
     * 发送计时信息
     *
     * Created at 2021/10/28 17:31
     * @Author <yuxiang.zhu@asiainnovations.net>
     * @param int $roomId
     */
    public function sendTimingMessage(int $roomId)
    {
        return;
    }
}
